package com.baic.ibase.service.devices;

import com.alibaba.fastjson2.JSONObject;
import com.baic.ibase.models.dao.Devices;
import com.baic.ibase.models.req.devices.ExecuteCommandReq;
import com.baomidou.mybatisplus.extension.service.IService;

public interface DeviceService extends IService<Devices> {

    Boolean executeCommand(ExecuteCommandReq req);

    void connected(JSONObject jsonObject);

    void  disconnected(JSONObject jsonObject);

    void commandAck(JSONObject jsonObject);

    void commandResponse(JSONObject jsonObject);


    void proxyExecuteCommand(JSONObject jsonObject);
}
